<template>
  <router-view v-slot="{Component}">
    <keep-alive :include="keepAliveList.toString()">
      <component :is="Component"></component>
    </keep-alive>
  </router-view>
</template>
<script setup>
import { provide, ref } from "vue";
import { keepAliveList } from "./router/routerConfig.js";
//定义了一个变量
const baseURL = ref("http://www.softeem.xin:9999");
provide("baseURL", baseURL);
</script> 

<style>
@import url("https://at.alicdn.com/t/font_3453813_cnnb1gpc03o.css");

* {
  margin: 0;
  padding: 0;
  /* 取消移动端点击以后的高亮效果 */
  -webkit-tap-highlight-color: transparent;
}
#app {
  /* vw全称叫viewport width */
  width: 100vw;
  height: 100vh;
}
</style>